﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Default2 : System.Web.UI.Page
{
    private int id;
    
    protected void Page_Load(object sender, EventArgs e)
    {
        id = 1;

        if (Request.QueryString["id"] != null)
        {
            id = int.Parse(Request.QueryString["id"]);
        }
        
        /*
         *  Select * from foodsource f join  foodsourcetype t on f.id = t.id
         */

        lblID.Text = id.ToString();

        txtID.Text = id.ToString();
        txtName.Text = "Canned Fruit";

        
    }
}